<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Iniuriam: /home/etu/v/p1115890/LIF7/EncoreUn/iniuriam/src/affichage_sdl.h Source File</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Iniuriam
   &#160;<span id="projectnumber">alpha 1</span>
   </div>
   <div id="projectbrief"> RPG futuriste</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="headertitle">
<div class="title">/home/etu/v/p1115890/LIF7/EncoreUn/iniuriam/src/affichage_sdl.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="affichage__sdl_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef AFFICHAGE_SDL_H</span>
<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define AFFICHAGE_SDL_H</span>
<a name="l00003"></a>00003 <span class="preprocessor"></span>
<a name="l00004"></a>00004 <span class="preprocessor">#include &lt;SDL/SDL.h&gt;</span>
<a name="l00005"></a>00005 <span class="preprocessor">#include &lt;stdlib.h&gt;</span>
<a name="l00006"></a>00006 <span class="preprocessor">#include &lt;stdio.h&gt;</span>
<a name="l00007"></a>00007 <span class="preprocessor">#include &lt;SDL/SDL_ttf.h&gt;</span>
<a name="l00008"></a>00008 <span class="preprocessor">#include &lt;SDL/SDL_image.h&gt;</span>
<a name="l00009"></a>00009 <span class="preprocessor">#include &lt;assert.h&gt;</span>
<a name="l00010"></a>00010 
<a name="l00011"></a>00011 <span class="preprocessor">#include &quot;<a class="code" href="deplacement_8h.html">deplacement.h</a>&quot;</span>
<a name="l00012"></a>00012 <span class="preprocessor">#include &quot;<a class="code" href="constante_8h.html">constante.h</a>&quot;</span>
<a name="l00013"></a>00013 <span class="preprocessor">#include &quot;<a class="code" href="combat_8h.html">combat.h</a>&quot;</span>
<a name="l00014"></a>00014 <span class="preprocessor">#include &quot;<a class="code" href="parole_8h.html">parole.h</a>&quot;</span>
<a name="l00015"></a>00015 <span class="preprocessor">#include &quot;<a class="code" href="liste__perso_8h.html">liste_perso.h</a>&quot;</span>
<a name="l00016"></a>00016 
<a name="l00025"></a>00025 <span class="keywordtype">void</span> <a class="code" href="affichage__sdl_8c.html#a8c9cbfd0babfe841f20eedb60a1bd80e" title="Preconditions : ter et ecran initalisé et remplis   Postconditions : affiche la carte.">affCarte</a>(<span class="keyword">const</span> <a class="code" href="structTerrain.html">Terrain</a>* ter, SDL_Surface* ecran);
<a name="l00026"></a>00026 
<a name="l00031"></a>00031 <span class="keywordtype">void</span> <a class="code" href="affichage__sdl_8c.html#a2c749db604e2422a6f905d6db4b946e0" title="Preconditions : hero, et ecran initalisé et remplis   Postconditions : affiche le hero...">affPerso</a>(<span class="keyword">const</span> <a class="code" href="structPersonnage.html">Personnage</a>* heros, <span class="keyword">const</span> <a class="code" href="structListe__Perso.html">Liste_Perso</a>* pnjs, <span class="keyword">const</span> <span class="keywordtype">int</span> nbrPnj, SDL_Surface* ecran);
<a name="l00032"></a>00032 
<a name="l00037"></a>00037 <span class="keywordtype">void</span> <a class="code" href="affichage__sdl_8c.html#a7fcc2f3004072761bc60733c568f640d" title="Preconditions : hero, ecran initalisé et remplis   Postconditions :affiche l&#39;inventaire.">affInventaire</a>(<a class="code" href="structPersonnage.html">Personnage</a>* hero, SDL_Surface* ecran);
<a name="l00038"></a>00038 
<a name="l00043"></a>00043 <span class="keywordtype">void</span> <a class="code" href="affichage__sdl_8c.html#a985f3d645440ae8e2042b81274665002" title="Preconditions : hero, ecran initalisé et remplis   Postconditions :affiche le profil.">affProfil</a>(<a class="code" href="structPersonnage.html">Personnage</a>* hero, SDL_Surface* ecran);
<a name="l00044"></a>00044 
<a name="l00049"></a>00049 <span class="keywordtype">void</span> <a class="code" href="affichage__sdl_8c.html#a4482db30fd800f1911b30bbea47391f5" title="Preconditions : info, ter initalisé et remplis   Postconditions : affiche le menu du dialogue...">affMenuDialogue</a>( <span class="keywordtype">char</span>* info, <span class="keywordtype">int</span> curseur, SDL_Surface* ecran);
<a name="l00050"></a>00050 
<a name="l00056"></a>00056 <span class="keywordtype">void</span> <a class="code" href="affichage__sdl_8c.html#aa975e1da9e7641eb55bed5119a52bbac" title="Preconditions : info, ter initalisé et remplis   Postconditions : affiche du texte quand un personnag...">affDialogue</a>(  <a class="code" href="structPersonnage.html">Personnage</a>* perso, <span class="keywordtype">char</span>* info, SDL_Surface* ecran);
<a name="l00057"></a>00057 
<a name="l00062"></a>00062 <span class="keywordtype">void</span> <a class="code" href="affichage__sdl_8c.html#a105d812628b620ef1c3d1c2df90e2f35" title="Preconditions : perso, curseur et ecran initalisé et remplis   Postconditions : affiche les choix que...">affSoudoyer</a>( <a class="code" href="structPersonnage.html">Personnage</a>* perso, <span class="keywordtype">int</span> curseur, SDL_Surface* ecran);
<a name="l00063"></a>00063 
<a name="l00068"></a>00068 <span class="keywordtype">void</span> <a class="code" href="affichage__sdl_8c.html#a55b07cbda1a3b3b536186a108119b4d5" title="Preconditions : dialogue, objet et ecran initialisés et remplis   Postconditions : affiche l&#39;interfac...">affInvPnj</a>(<a class="code" href="structPersonnage.html">Personnage</a>* pnj, SDL_Surface* ecran);
<a name="l00069"></a>00069 
<a name="l00074"></a>00074 <span class="keywordtype">void</span> <a class="code" href="affichage__sdl_8c.html#a1ee2de8a44965b887c002324e0d6492e" title="Preconditions : dialogue, objet et ecran initialisés et remplis   Postconditions : affiche l&#39;interfac...">affVendre</a>(<a class="code" href="structDialogue.html">Dialogue</a>* dialogue, <a class="code" href="structObjet.html">Objet</a>* objet, SDL_Surface* ecran);
<a name="l00075"></a>00075 
<a name="l00080"></a>00080 <span class="keywordtype">void</span> <a class="code" href="affichage__sdl_8c.html#a655eb476bc06675e13bf8b2519d2a514" title="Preconditions : position, objet et ecran initalisé et remplis   Postconditions :affiche les informati...">affInfOb</a>(SDL_Rect* position, <a class="code" href="structObjet.html">Objet</a>* objet, SDL_Surface* ecran);
<a name="l00081"></a>00081 
<a name="l00086"></a>00086 <span class="keywordtype">void</span> <a class="code" href="affichage__sdl_8c.html#a46c97dcfa8908ec581de7e12fee4c07f" title="Preconditions : ter, groupe, l, arene et ecran initialisés et remplis   Postconditions : affiche du t...">affCombat</a>(<a class="code" href="structTerrain.html">Terrain</a>* ter, <a class="code" href="structCombattant.html">Combattant</a>* groupe, <span class="keywordtype">int</span> l, <span class="keywordtype">char</span> arene[<a class="code" href="constante_8h.html#ac1049bafa9c744bc36db5e3a0a6cf8ed">TAILLE_MAX_H</a>][<a class="code" href="constante_8h.html#aebaf3b6f2e7f670f39b91564011c9d20">TAILLE_MAX_L</a>], SDL_Surface* ecran);
<a name="l00087"></a>00087 
<a name="l00092"></a>00092 <span class="keywordtype">void</span> <a class="code" href="affichage__sdl_8c.html#a57fd8ee977a3a2abb2d49f618d831f3a" title="Preconditions : combattant, choix et ecran initalisé et remplis   Postconditions : affiche la selecti...">affArmesEqui</a>(<a class="code" href="structCombattant.html">Combattant</a>* hero, <span class="keywordtype">int</span> choix, SDL_Surface* ecran);
<a name="l00093"></a>00093 
<a name="l00098"></a>00098 <span class="keywordtype">void</span> <a class="code" href="affichage__sdl_8c.html#acc0a8c064ab619ab880e713e3e280e92" title="Preconditions : choix et ecran initialisés et remplis   Postconditions : affiche le choix des attaque...">affAttaque</a>(<span class="keywordtype">int</span> choix, SDL_Surface* ecran);
<a name="l00099"></a>00099 
<a name="l00104"></a>00104 <span class="keywordtype">void</span> <a class="code" href="affichage__sdl_8c.html#ac95f4c34283a3075a1cc615877a60361" title="Preconditions : hero, pnj, ter et ecran initalisé et remplis   Postconditions : gère les évenements e...">eventJeuSDL</a>(<a class="code" href="structPersonnage.html">Personnage</a>* hero, <span class="keywordtype">int</span> nbrHero, <a class="code" href="structListe__Perso.html">Liste_Perso</a>* pnjs, <span class="keywordtype">int</span> nbrPnj, <a class="code" href="structMission.html">Mission</a>* mission, <a class="code" href="structObjet.html">Objet</a>* tabObjets, <a class="code" href="structTerrain.html">Terrain</a>* ter, SDL_Surface* ecran);
<a name="l00105"></a>00105 
<a name="l00110"></a>00110 <span class="keywordtype">void</span> <a class="code" href="affichage__sdl_8c.html#aaa76898977ab99494b0fc2dd9c0cde7c" title="Preconditions : hero, ecran initalisé et remplis   Postconditions : gère les évements du journa de qe...">eventJournalSDL</a>(<a class="code" href="structPersonnage.html">Personnage</a>* hero, <a class="code" href="structMission.html">Mission</a>* mission, SDL_Surface* ecran);
<a name="l00111"></a>00111 
<a name="l00116"></a>00116 <span class="keywordtype">void</span> <a class="code" href="affichage__sdl_8c.html#aa4bc5e788eba82a2d467dd5b609a4800" title="Preconditions : hero, ecran initalisé et remplis   Postconditions : gère les évements du profil...">eventProfilSDL</a>(<a class="code" href="structPersonnage.html">Personnage</a>* hero, <span class="keywordtype">int</span> nbHero, SDL_Surface* ecran);
<a name="l00117"></a>00117 
<a name="l00122"></a>00122 <span class="keywordtype">void</span> <a class="code" href="affichage__sdl_8c.html#a8398bd1ed5850b83e7a90f65319a6ce1" title="Preconditions : hero, ecran initalisé et remplis   Postconditions : gère les évements de l&#39;inventaire...">eventInventaireSDL</a>(<a class="code" href="structPersonnage.html">Personnage</a>* hero, <span class="keywordtype">int</span> nbHero, SDL_Surface* ecran);
<a name="l00123"></a>00123 
<a name="l00128"></a>00128 <span class="keywordtype">int</span> <a class="code" href="affichage__sdl_8c.html#a80d16fc19a62a7ba33e97151a02abe9a" title="Preconditions : hero, ennemi, ter et ecran initialisés   Postconditions : gère les évenements lors du...">eventCombatSDL</a>(<a class="code" href="structPersonnage.html">Personnage</a>* hero, <span class="keyword">const</span> <span class="keywordtype">int</span> nbrHero, <a class="code" href="structListe__Perso.html">Liste_Perso</a>* ennemi, <a class="code" href="structTerrain.html">Terrain</a>* ter, SDL_Surface* ecran);
<a name="l00129"></a>00129 
<a name="l00134"></a>00134 <span class="keywordtype">void</span> <a class="code" href="affichage__sdl_8c.html#ae2a3181d97e5cac4e0b6c284a153a6fd" title="Preconditions :groupe, j, l et arene sont initialisés   Postconditions : gère les évenements lors du ...">eventTourJoueurSDL</a>(<a class="code" href="structCombattant.html">Combattant</a>* groupe, <span class="keywordtype">int</span> j, <span class="keywordtype">int</span> l, <span class="keywordtype">char</span> arene [<a class="code" href="constante_8h.html#ac1049bafa9c744bc36db5e3a0a6cf8ed">TAILLE_MAX_H</a>][<a class="code" href="constante_8h.html#aebaf3b6f2e7f670f39b91564011c9d20">TAILLE_MAX_L</a>], <span class="keywordtype">char</span>* info, <a class="code" href="structTerrain.html">Terrain</a>* ter, SDL_Surface* ecran);
<a name="l00135"></a>00135 
<a name="l00140"></a>00140 <span class="keywordtype">void</span> <a class="code" href="affichage__sdl_8c.html#a7cb03f6e1445b2223a32f64b1c9bdc24" title="Preconditions : combattant, defenseur, arme, arene et ecran initalisé et remplis   Postconditions : g...">eventAttaqueSDL</a>(<a class="code" href="structCombattant.html">Combattant</a>* combattant, <a class="code" href="structCombattant.html">Combattant</a>* defenseur, <a class="code" href="structObjet.html">Objet</a>* arme, <span class="keywordtype">char</span> arene[<a class="code" href="constante_8h.html#ac1049bafa9c744bc36db5e3a0a6cf8ed">TAILLE_MAX_H</a>][<a class="code" href="constante_8h.html#aebaf3b6f2e7f670f39b91564011c9d20">TAILLE_MAX_L</a>], <span class="keywordtype">char</span>* info, SDL_Surface* ecran);
<a name="l00141"></a>00141 
<a name="l00146"></a>00146 <span class="keywordtype">int</span> <a class="code" href="affichage__sdl_8c.html#a953c22c709afc989d2ec9ede4302ffc4" title="Preconditions : combattant et ecran initalisé et remplis   Postconditions : gère la selection de l&#39;ar...">eventArmesEquiSDL</a>(<a class="code" href="structCombattant.html">Combattant</a>* combattant, <span class="keywordtype">int</span> choix, SDL_Surface* ecran);
<a name="l00147"></a>00147 
<a name="l00152"></a>00152 <span class="keywordtype">void</span> <a class="code" href="affichage__sdl_8c.html#aafa59b7ed7340fd137ab0a577e643a6a" title="Preconditions : hero, ennemi et ecran initalisé et remplis   Postconditions : gère la recupération de...">eventRecupInvSDL</a>(<a class="code" href="structPersonnage.html">Personnage</a>* hero, <a class="code" href="structPersonnage.html">Personnage</a>* ennemi, <a class="code" href="structMission.html">Mission</a>* mission, <a class="code" href="structObjet.html">Objet</a>* tabObjets, SDL_Surface* ecran);
<a name="l00153"></a>00153 
<a name="l00158"></a>00158 <span class="keywordtype">void</span> <a class="code" href="affichage__sdl_8c.html#a8271ec87bfb0c20f5cc46c8d684a630b" title="Preconditions : hero, pnj et ecran initalisé et remplis   Postconditions : gère les évenements du dia...">eventDialogueSDL</a>( <a class="code" href="structDialogue.html">Dialogue</a>* dialogue, <span class="keyword">const</span> <a class="code" href="structPersonnage.html">Personnage</a>* pnjs, <span class="keywordtype">char</span> repondre[400], <a class="code" href="structMission.html">Mission</a>* mission, <a class="code" href="structObjet.html">Objet</a>* tabObjets, <a class="code" href="structTerrain.html">Terrain</a>* ter, SDL_Surface*ecran);
<a name="l00159"></a>00159 
<a name="l00164"></a>00164 <span class="keywordtype">void</span> <a class="code" href="affichage__sdl_8c.html#a0c80f9224656b9fbe0a5819e00768865" title="Preconditions : dialogue, rep et ecran initialisés   Postconditions : gère les évenements de soudoyer...">eventSoudoyerSDL</a>( <a class="code" href="structDialogue.html">Dialogue</a>* dialogue, <span class="keywordtype">char</span>* rep, SDL_Surface* ecran);
<a name="l00165"></a>00165 
<a name="l00170"></a>00170 <span class="keywordtype">void</span> <a class="code" href="affichage__sdl_8c.html#a3c5216e98df79ab559b2cb2f6b8df76d" title="Preconditions : dialogue, reponse et ecran initialisés   Postconditions : gère les évenements de l&#39;ac...">eventAcheterSDL</a>(<a class="code" href="structDialogue.html">Dialogue</a>* dialogue, <span class="keywordtype">char</span>* reponse, <a class="code" href="structMission.html">Mission</a>* mission, <a class="code" href="structObjet.html">Objet</a>* tabObjets, SDL_Surface* ecran);
<a name="l00171"></a>00171 
<a name="l00176"></a>00176 <span class="keywordtype">void</span> <a class="code" href="affichage__sdl_8c.html#af17b2995f0589ee56eacebf944b80e8c" title="Preconditions : dialogue, reponse et ecran initialisés   Postconditions : gère les évenements de la v...">eventVendreSDL</a>(<a class="code" href="structDialogue.html">Dialogue</a>* dialogue, <span class="keywordtype">char</span>* reponse, SDL_Surface* ecran);
<a name="l00177"></a>00177 
<a name="l00178"></a>00178 <span class="preprocessor">#endif</span>
</pre></div></div><!-- contents -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Tue Jun 4 2013 08:45:33 for Iniuriam by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>

</body>
</html>
